using Bee.Base.Models.Tasks;

namespace Bee.Plugin.Multimedia.Models;

public class AudioProcessArguments : TaskArgumentBase
{
    /// <summary>
    /// 输出格式
    /// </summary>
    public string OutputFormat { get; set; } = "aac";
    /// <summary>
    /// 比特率
    /// </summary>
    public int Bitrate { get; set; } = 384;
    /// <summary>
    /// 音频采样率
    /// </summary>
    public int SamplingRate { get; set; } = 48000;
    /// <summary>
    /// 编码器
    /// </summary>
    public int? AudioCodecIndex { get; set; }
    /// <summary>
    /// 通道数
    /// </summary>
    public int? NumChannels { get; set; }
    /// <summary>
    /// 强制指定输出格式
    /// </summary>
    public bool ForceFormat { get; set; } = false;
    /// <summary>
    /// 文件存在时覆盖
    /// </summary>
    public bool Overwrite { get; set; } = true;
}